#!/bin/bash

	if [ $# -eq 0 ]
	then
		echo "请输入年龄变量!"
	elif [ $1 -lt 18 ]
	then
		echo "小登"
	elif [ $1 -lt 60 ]
	then
		echo "中登"
	else
		echo "老登"
	fi
